package com.edu.zju.scs.panacea.entity.resource;

import java.util.List;

/**
 * @Author: Yue Liang
 * @Date: 2018-12-26 21:06
 */
public class Package {
    /**
     * 资源包自增ID
     */
    private Long id;

    /**
     * 资源包名称
     */
    private String name;

    /**
     * 创建资源包的商家ID
     */
    private Long sellerId;

    /**
     * 资源包下的资源位
     */
    private List<Long> locIds;

    /**
     * 资源包状态，0：未使用 1：使用中，正使用的资源包不可修改
     */
    private Integer state;

    /**
     * 备注
     */
    private String remarks;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getSellerId() {
        return sellerId;
    }

    public void setSellerId(Long sellerId) {
        this.sellerId = sellerId;
    }

    public List<Long> getLocIds() {
        return locIds;
    }

    public void setLocIds(List<Long> locIds) {
        this.locIds = locIds;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Package{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sellerId=" + sellerId +
                ", locIds=" + locIds +
                ", state=" + state +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
